import { DemoBlock } from 'demos';
import { TextArea } from '@pxxtech/component';

const Basic = () => {
  return (
    <>
      <DemoBlock title="normal">
        <TextArea />
      </DemoBlock>
      <DemoBlock title="maxLength">
        <TextArea maxLength={120} />
      </DemoBlock>
      <DemoBlock title="disabled">
        <TextArea disabled />
      </DemoBlock>
    </>
  );
};

export default Basic;
